package com.example.project.vo;

import com.example.project.enums.ExportFormat;
import com.example.project.enums.ReportType;

/**
 * 报表导出请求参数
 * 
 * @author ruoyi
 * @date 2025-10-24
 */
public class ProjectReportRequest {
    
    private String startDate;          // 开始时间
    private String endDate;            // 结束时间
    private ReportType reportType;   // 报表类型
    private Integer projectId;       // 项目ID（可选）
    private ExportFormat format;     // 导出格式（EXCEL/PDF）
    
    // 构造函数
    public ProjectReportRequest() {}
    
    public ProjectReportRequest(String startDate, String endDate, ReportType reportType, ExportFormat format) {
        this.startDate = startDate;
        this.endDate = endDate;
        this.reportType = reportType;
        this.format = format;
    }
    
    // Getter和Setter方法
    public String getStartDate() {
        return startDate;
    }
    
    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }
    
    public String getEndDate() {
        return endDate;
    }
    
    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
    
    public ReportType getReportType() {
        return reportType;
    }
    
    public void setReportType(ReportType reportType) {
        this.reportType = reportType;
    }
    
    public Integer getProjectId() {
        return projectId;
    }
    
    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }
    
    public ExportFormat getFormat() {
        return format;
    }
    
    public void setFormat(ExportFormat format) {
        this.format = format;
    }
}